<div class="content">
<h1>Add blogpost!</h1>
<?php
echo $form->create('Blogpost');
echo $form->input('title');
echo $form->input('body');
echo $form->input('author',array('type' => 'hidden', 'value' => $user['username']));
echo $form->end('Add post');
?>
</div>